home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / door / gmon_402.zip / GMON.DOC < prev    next >
Text File  |  1992-12-02  |  87KB  |  2,148 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.                        ╓──┐  ╓─┐┌─╖  ╓──╖  ╓┐ ╥
  10.                        ║ ─╥  ║ └┘ ║  ║  ║  ║└┐║
  11.                        ╙──╜  ╨    ╨  ╙──╜  ╨ └╜
  12.  
  13.                                   ╓─╖
  14.                                  ╓╜ ║
  15.                                 ╓╜  ║
  16.                                ╓╜   ║
  17.                                ╙────╫─
  18.                                     ║
  19.  
  20.  
  21.               Door File Conversion, Integrator, and Organizer 
  22.  
  23.                             By John Morris
  24.  
  25.                          SysOp Reference Guide
  26.  
  27.                  Copyright (c) 1991-1992 by John Morris
  28.                            All Rights Reserved                            
  29.                                                                  Page 2 
  30.  
  31. CONTENTS
  32.  
  33.    Software License .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  2
  34.    Warranty.  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  2
  35.    Features.  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  3
  36.    Hardware Requirements  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  3
  37.    GMon Version History.  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  4
  38.    Manual Conventions  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  6
  39.    Command Line Switches  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  6
  40.    Function Keys .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  8
  41.    Batch Files Needed To Invoke GMon 4.  .  .  .  .  .  .  .  .  .  .  9
  42.    BBS Programs GMon 4.0 Will Run With.  .  .  .  .  .  .  .  .  .  . 10
  43.    How To Interface You Unsupported BBS To GMon.  .  .  .  .  .  .  . 13
  44.    Getting Started With GMon 4.0.  .  .  .  .  .  .  .  .  .  .  .  . 18
  45.    GMon Editor - Main  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 18 
  46.       Command Letters & Security Levels  .  .  .  .  .  .  .  .  .  . 22
  47.       Time Limits.  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 23
  48.       Program Editor.  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 23
  49.       User Editor.  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 28
  50.       Category Editor  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 28
  51.    GMon Text Files  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 29
  52.    GMon Macros.  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 30
  53.    Upgrading To GMon 4.0  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 31
  54.    GMon Files .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 32
  55.    GMon Bulletins.  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 32
  56.    Program Menus .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 33
  57.    Before & After Text Files .  .  .  .  .  .  .  .  .  .  .  .  .  . 33
  58.    Thanks  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 33
  59.    Problems?  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 34
  60.    How To Reach Me  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  . 34
  61.    APPENDIX A: How The Points System In GMon Works.  .  .  .  .  .  . 35
  62.  
  63.  
  64.  
  65. SOFTWARE LICENSE
  66.  
  67. GMon is released as Shareware.  You may use GMon for any commercial,
  68. or non-commercial purpose. Use it on your company, private, or school BBS.
  69. If you have thought of another way to use GMon, feel free to use it that
  70. way.  
  71.  
  72. You may copy and distribute as many copies of the program as you like, as
  73. long as you don't charge money for the program itself.  A small fee is
  74. allowed for copying, handling, mailing, and the diskette carrying the
  75. copy, but this amount is not to exceed the real costs.
  76.  
  77. GMon should not be used or distributed in modified form.
  78.  
  79. If you use this program on a regular basis, you are required to register
  80. your copy.  By registering GMon, you are helping the author to continue to 
  81. provide quality software.
  82.  
  83. WARRANTY
  84.  
  85. GMon is provided as is, with no warranty of any kind, either expressed
  86. or implied.
  87.  
  88. The only guarantee is that GMon will take up space on your disk. 
  89.                                                                   Page 3
  90.  
  91. FEATURES OF GMON
  92.  
  93. o  Allows the use of virtually any door program from any BBS program.
  94. o  Acts as a central door 'hub' program. All your doors can be run
  95.    from GMon eliminating the need for complex door menus.
  96. o  Many different BBS's are supported thru the following files:
  97.        DORINFOx.DEF
  98.        CALLINFO.BBS
  99.        PCBOARD.SYS
  100.        DOOR.SYS
  101.        CHAIN.TXT
  102.        LASTUSxx.DAT
  103.        EXITINFO.BBS
  104.        SFDOORS.DAT
  105.        & more!
  106. o  Converts from the above file formats to even more door file formats,
  107.    including:
  108.        all of those above &
  109.        OPENDOOR.SYS    (Fast Finger Doors)
  110.        USERINFO.TXT    (MG Generic doors, like Planet Busters)
  111.        DOORFILE.SR     (Solar Realm Doors)
  112.        & more!
  113. o  Up to 500 doors can be set up to run from GMon at any one time.
  114. o  Full network support using SHARE.EXE for file sharing & record locking.
  115. o  Supports 'local only' operation for local use without having to load
  116.    your BBS.
  117. o  Support for up to 256 nodes. (36 under RBBS-PC)
  118. o  Contains its own ANSI driver. (ANSI.SYS does not need to be loaded)
  119. o  Support for FOSSIL communications drivers.
  120. o  Support for BPS rates to 115200 (38400 with a FOSSIL driver)
  121. o  Support for non-standard communications ports.
  122. o  Supports flow control for high speed modems.
  123. o  Contains its own carrier detection routine. (no watchdog program needed)
  124. o  Multi-tasker aware. (Desqview, DoubleDOS, & DOS/Windows/OS2 idle calls)
  125. o  Keeps track of time used.
  126. o  Time of day usage can be controlled.
  127. o  Time limits according to security level.
  128. o  20 separate security levels/time limits can be configured.
  129. o  SysOp can chat with user.
  130. o  Bulletin support. You can have your door programs create bulletins
  131.    that can be read by GMon, eliminating a lot of game bulletins in
  132.    your BBS.
  133. o  Editor program built into main program.
  134. o  Full control over how a door runs. By COM, EXE, or BATch file.
  135. o  Macro language for text files used by GMon.
  136. o  Support for 4 different ways of naming text/color menus & bulletins.
  137. o  Controls use of non-network programs on multi-node systems.
  138. o  & MORE!
  139.  
  140. HARDWARE REQUIREMENTS
  141.  
  142. o  Any IBM PC or compatible computer with at least 200K of memory.
  143. o  DOS 3.1 or above (3.3 or higher recommended)
  144. o  Approximately 300K of disk space.
  145.                                                                   Page 4
  146.  
  147. GMON VERSION HISTORY
  148.  
  149. I conceived of GMon over 4 years ago. It has gone thru many revisions,
  150. and is now finally becoming a program I like.  I wanted a small, flexible,
  151. and fast 'monitor' program for my BBS.  I orignally wanted a 70-80K
  152. program, but GMon 4.0 weighs in at about 135K.  The good part about that
  153. is the fact that GMon can now shrink the amount of memory it uses to
  154. an amount close to 1 or 2K when running a door.  GMon is now always in
  155. memory while a doors are being run. This allows for better door control
  156. and eliminates the need for a bunch of batch files to run each door.
  157. GMon started out as a central program from which I could run all my
  158. doors, but it ended up as more of a door control program allowing me
  159. to run nearly any door thru it.
  160.  
  161.  
  162. 01/10/88 - GMon 1.0
  163. --------
  164. First release of GMon. Written to be compatible with Bob Westcott &
  165. Rod Bowman's Door Monitor program, with improvements in speed and size.
  166. Also included conversion code to run PCB 11, or PCB 12 doors.  GMon
  167. knew they were PCBoard doors by the fact that a string (either PCB11
  168. or PCB12) was in the description).  Made to run under RBBS-PC only!
  169.  
  170. 01/24/88 - GMon 2.0
  171. --------
  172. The GAMES.DOR file was completely reworked to be more flexible. Eliminated
  173. the need for certain strings (ie. 'PCB11' or 'PCB12') in the description
  174. to run PCBoard doors. Instead you just change the program 'type'.  The
  175. batch file used by GMon was changed from GMONPCB.BAT to GMONEXTx.BAT.
  176. Two reasons for that, 1: to make sure the correct batch file was being
  177. run on multi node systems, and 2: to reflect the fact that not all
  178. doors would be PCBoard ones in the future.  The user interface was
  179. changed to look more like an RBBS command prompt, thus making the user
  180. feel more at home (I hope!)  You can now customize the menu the users
  181. sees.  The X-pert toggle command was added to switch the menu on/off.
  182.  
  183. 02/28/88 - GMon 2.1
  184. --------
  185. Several bugs fixed.  More complete info on batch files was included in
  186. the docs.  It should now run single and multi node BBS with the same
  187. ease.
  188.  
  189. 03/13/88 - GMon 2.2
  190. --------
  191. These were the days of the quick update huh?  Fixes applied to the PCBoard
  192. interface which includes a total rewrite of the PCBOARD.DAT files that
  193. GMon outputs.  This seems to clear up the 'error 62 at line 10040' problem
  194. with PCB12 doors (using Door Patch).  Also PCBoard mode 4 was included
  195. which will write out a plain PCBOARD.SYS and PCBOARD.DAT file.  Hopefully
  196. this will make GMon compatible with other PCB 12 games.  SysOps, hitting
  197. F1 will tell GMon to immediately exit to DOS.. (just in case)
  198.  
  199. 04/10/88 - GMon 2.3
  200. --------
  201. The PCBoard interface was rewritten (again) so that GMon would output
  202. a 'fake' PCBoard USER file along with the other PCB files GMon was 
  203. already creating so that Dorpatch routines greater than 2.6 would run.
  204. These fixes work automatically, so you don't need to anything except
  205. add the game to the GAMES.DOR file, and they should run.  A bug in the
  206. program which caused the amount of time used to be miscalculated was
  207. cleared up.
  208. Also added was an improved GMon edit program call GMedit20. It includes
  209. a NAMES.DOR editor in addition to the older GMONEDIT functions.
  210.  
  211.                                                                   Page 5
  212.  
  213. 02/15/89 - GMon 3.1  (3.0 only released as a beta test)
  214. --------
  215. Several new features added this time.  Main feature? hmmm.. howsabout
  216. a 15K smaller EXE file.. thats the main feature.  Added several new
  217. switches.  You can now tell GMon to use separate GAMES.DOR files for
  218. each node.  The filename would then be GAMESx.DOR (where 'x' is the
  219. node number).  You can shorten the GMon prompt to 'GMon Command?'
  220. eliminating the actual command letters (A,B,C.. etc.)  If you have
  221. this feature turned off, GMon will look and behave exactly as before.
  222. GMon also has a batch mode so it can be used as a simple RBBS to
  223. PCB11/PCB12/PCB14/GAP/WILDCAT file conversion program.
  224.  
  225. GMEdit30 has been rewritten to be used locally, or from remote!  Added to
  226. GMEdit30 is a GAMES.DOR editor.  GMEdit30 can be accessed by using the
  227. SysOp command 'E'.  Be sure GMEDIT30.EXE is in the current GMon directory.
  228. When editing the GAMES.DOR file, GMEdit may change the 'look' of your
  229. GAMES.DOR file but does not effect the way it works in any way.
  230.  
  231. 02/25/89 - GMon 3.11
  232. --------
  233. A maintenance update to fix a problem in the /C3 and /C4 modes which
  234. caused an 'illegal function call' error.
  235.  
  236. 09/24/89 - GMon 3.13
  237. -------- 
  238. Another maintenance update, along with a couple added interfaces.  GMon
  239. should now enforce time limits correctly in all cases.  Formerly an
  240. entry in the TIMLIMIT.DOR file which looked like:
  241. 9,45,90,,
  242. would give the error "you must call between 0000 and 2359" 
  243. This error was fixed.  Added interfaces are an OPENDOOR.SYS (Fast Fingers
  244. Door Program), and a USERINFO.TXT (MG Generic format for games like
  245. Planet Busters)
  246. Also **NEW** batch file info.  Some external door programs tend to -eat-
  247. command line parameters. So if you run a multi-node system this causes
  248. items like node numbers to get lost!  The fix is in the batch file section.
  249. MONITOR1.EXE is written in C to save on some disk space, and file xfer
  250. size.
  251. OH YEAH!... Almost forgot. I did some work on GMEdit30.. and fixed some
  252. really nasty GAMES.DOR Editor errors.  It is now know as GMEdit31.
  253.  
  254. 1990     - GMon 3.2
  255. --------
  256. Given out to only a few guys.. featured FOSSIL driver support.
  257.  
  258. 01/19/92 - GMon 4.0
  259. --------
  260. GMon was utterly rewritten.  It is now in C in place of BASIC.  Now
  261. is no longer RBBS-PC specific.  It should work under any BBS program,
  262. and convert files to almost any BBS interface or door interface file.
  263. Is now one single program, with the editor in the main program. All
  264. file formats have changed, so GMon 4.0 is not fully compatible with the
  265. old Door Monitor, or even older versions of GMon. _BUT_ it still works
  266. in a similar manner.  All files can be edited by the GMon editor
  267. included in the program. Instead of exiting to DOS, or RUNning a program
  268. as in the BASIC version, GMon will swap itself out of memory and
  269. 'spawn' to the door. The door can be a COM file, an EXE file, or a
  270. BATch file.  If it is a batch file, GMon will execute a copy of
  271. COMMAND.COM (or whatever your DOS shell is) and have it execute the
  272. batch file.  This way GMon never actually leaves memory.  This also
  273. usually eliminates the need for batch files. Swapping takes place to either
  274. EMS, XMS, or to disk. Specific commands lines and evironment variables 
  275. can be specified for each door!  Games can still be listed by category,
  276.                                                                   Page 6
  277.  
  278. if you choose, or all together as in the older versions of GMon. A
  279. Bulletin menu was added. This allows you to tell your door programs
  280. to create bulletins for use by GMon.  This eliminates large amounts
  281. of game bulletins in your BBS.  In other words, the users can read
  282. the game score bulletins from the game area, instead of the BBS. 
  283. Text files (menus, bulletins) can be named in 4 different ways (to
  284. work similarly to several different BBS programs).
  285.  
  286. 05/25/92 - GMon 4.01
  287. --------
  288. Maintenance release. Tweaked a couple of the BBS interfaces.  I still am
  289. looking for some more differences of opinions on how handles should be worked
  290. on systems which don't have them, and games that do.  Another release to
  291. follow shortly.
  292.  
  293. 12/02/92 - GMon 4.02
  294. --------
  295. Maintenance Release - Updated door I/O routines. Chat mode string now
  296. properly says SysOp & User name.
  297.  
  298. MANUAL CONVENTIONS
  299.  
  300. This manual contains the following conventions:
  301.  
  302. [option]     Any information inside double square brackets is OPTIONAL.
  303.  
  304. Keep that in mind when you read this manual.
  305.  
  306. GMON 4 COMMAND LINE SWITCHES
  307.  
  308. The command line is the information following the program name at the
  309. DOS prompt.
  310.  
  311. Command line options must ALWAYS be separated by a space! If there isn't
  312. a space, then that command line paramter will be missed.
  313.  
  314. GMON [options]
  315.  
  316. The following options are always preceded with a '/' (forward slash) or a
  317. '-' (minus sign)
  318.  
  319. Bxx         -  Tells GMon to run in Batch conversion mode. 'xx' is the
  320.                type of file to convert to. [not yet implemented in 4.0]
  321.  
  322. Cv[,ww,xx,yy,zz]   Communications port information. You will not need to use
  323.                this command unless, 1: The GMon docs specifically says to
  324.                for your BBS program, or 2: You are using a non-standard
  325.                communications port. (usually COM3 or above)
  326.  
  327.                v   - com port you wish the program to use.
  328.  
  329.                The following information is optional, and is only used
  330.                when using non-standard communications ports.
  331.  
  332.                ww  - Base address, in HEX format, of your UART chip.
  333.                      For example: COM1 uses 0x3F8, COM2 uses 0x2F8
  334.  
  335.                xx  - IRQ number you wish to use in decimal format.
  336.                      For example: COM1 uses 4, COM2 uses 3
  337.  
  338.                yy  - Base address, in HEX format of your 8259 interrupt
  339.                      controller chip.
  340.                                                                   Page 7
  341.  
  342.                      In the IBM PC/XT or compatibles, this is ALWAYS 0x20
  343.                      In the IBM AT there is a second 8259 located at the
  344.                      address 0xA0
  345.  
  346.                      The first 8259,at address 0x20,has IRQ numbers of
  347.                      0 thru 7.  The second 8259 chip, found in AT class
  348.                      machines at address 0xA0, contains IRQ numbers of
  349.                      8 thru 15.
  350.  
  351.                zz  - Interrupt vector number.
  352.  
  353.                      For example: COM1 uses 12, COM2 uses 11.
  354.  
  355.                At this point you are probably thoroughly confused! Not to
  356.                worry!  There are some general rules to follow in order to
  357.                set up your non-standard com port.
  358.  
  359.                If your IRQ number is in the range 0 to 7, your 8259 address
  360.                is always 0x20.
  361.  
  362.                If your IRQ number is in the range 8 to 15, your 8259 address
  363.                is always 0xA0.
  364.  
  365.                If your IRQ is 3, then your interrupt vector MUST be 11,
  366.                and vice versa.
  367.  
  368.                If your IRQ is 4, then your interrupt vector MUST be 12,
  369.                and vice versa.
  370.  
  371.                Your modem or serial port board manufacturer will supply
  372.                you with the correct IRQ and UART base address.
  373.  
  374.                For Example: Your COM3 serial port is located at 0x2E0, and
  375.                your IRQ is 4.  Remember, IRQ 4 is on the 8259 located at
  376.                0x20, and interrupt 12 is always associated with IRQ 4.
  377.                Your /C command line parameter would be:
  378.  
  379.                /C3,0x2E0,4,0x20,12
  380.  
  381.                Another example. Lets say your BBS program doesn't supply
  382.                communications port information in the information file
  383.                that GMon reads. You would then need to specify that com
  384.                port on the command line. Lets say you need com 2:
  385.  
  386.                /C2
  387.  
  388.                COM2 is a standardized port, so you don't need to specify
  389.                the additional port info!
  390.  
  391. E[DITOR]    -  If you wish to use just the editor (in local mode) use this
  392.                switch.   
  393.  
  394. Fxxxx       -  This is the directory in which to find the BBS info file
  395.                to get info in the current user. This overrides the BBS
  396.                directory you entered in GMon Edit. 'xxxx' is the directory
  397.                in which to find the file. No trailing backslash.
  398.  
  399. G[RAPHICS]  -  This switch forces ANSI color on. This is used in Local-only
  400.                mode.
  401.  
  402. L[OCAL]     -  This forces GMon to operate in Local-Only mode. This
  403.                is how you can use GMon locally. GMon always assumes that
  404.                it is the SysOp who is on when it runs locally.
  405.                                                                   Page 8
  406.  
  407. Nxx         -  Where 'xx' is the current node number.  Must be used to
  408.                tell GMon which node it is running under. (unless your BBS
  409.                info file contains node info)  You might want to use it
  410.                anyway to make sure GMon knows which node it is running
  411.                under.
  412.  
  413. Pxxxx       -  This command tells GMon to use a different file to get
  414.                configuration info from, instead of GMON.DEF.  You might
  415.                do this for a different set up on different nodes, or
  416.                whatever else you can think of.  Usually you will not
  417.                use this command.
  418.  
  419. Sxxxx       -  This is used to tell GMon at which speed to operate. If the
  420.                program saw
  421.  
  422.                /S19200
  423.  
  424.                It would open the com port at 19,200 bps.
  425.  
  426.                The S command used infrequently, and is only needed in 
  427.                certain situations.  If you aren't sure whether or not to use
  428.                it, don't.  Most BBS interface files provide the bps rate
  429.                for GMon.
  430.  
  431.  
  432. Remember, most switches never need to be used. The only switches you may 
  433. frequently use are:
  434.  
  435. /L[ocal]     (local mode)
  436. /G[raphics]  (turn on ANSI mode)
  437. /Nxx         (node number)
  438.  
  439. To run GMon in local mode, you would use the command:
  440.  
  441. GMON /L
  442.  
  443. You could add a /G to that to turn on Graphics.
  444.  
  445. GMon assumes that it is running on Node 1.  On multi-node systems you
  446. need to tell GMon which node its on, you would use the /Nxx command
  447. like so:
  448.  
  449. GMON /N3
  450.  
  451. for node 3.
  452.  
  453. For RBBS-PC users, you would still use regular RBBS node numbers, in other
  454. words:
  455.  
  456. '1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  457.  
  458. for RBBS node 11, you would use:
  459.  
  460. /NA
  461.  
  462.  
  463. GMON SYSOP FUNCTION KEYS
  464.  
  465. GMon has a few function keys enabled so you can control certain
  466. aspects of the current session.
  467.  
  468.                                                                   Page 9
  469.  
  470. F1          -  Pressing the F1 key will the cause GMon to immediately
  471.                terminate the current session. It will not drop carrier
  472.                on the user, but simply end the game, and return to
  473.                DOS and the batch file that ran it.
  474.  
  475. F2          -  Shell to DOS. Since this is so infrequently used it isn't
  476.                set up very well. You must have COMMAND.COM in the current
  477.                directory for this to work.  Type EXIT at the DOS prompt
  478.                to return to GMon.
  479.  
  480. F9          -  This toggles the local display on and off. RBBS-PC and
  481.                PCBoard SysOps will be familiar with this feature.  By
  482.                pressing F9 you simply change the display status of GMon
  483.                not the display status of your BBS.
  484.  
  485. F10         -  This invokes the SysOp chat mode.  Hit ESCape to exit back
  486.                to GMon.
  487.  
  488. PGDN  &     -  These two keys are used to DECREASE a users time limit. PGDN 
  489. CTRL-PGDN      will subtract 1 minute from the users time limit. CTRL-PGDN
  490.                will subtract 10 minutes for each press!  The results are
  491.                shown to you in the lower right hand corner.
  492.  
  493. PGUP  &     -  PGUP and CTRL-PGUP are used to INCREASE a users time limit.
  494. CTRL-PGUP      Pressing PGUP once will increase the limit by 1 minute.
  495.                Each press of CTRL-PGUP will increase time left by 10
  496.                minutes! As above, the results can be found in the lower
  497.                right-hand corner.
  498.  
  499.  
  500. End of Function Key Section.
  501.  
  502.  
  503. SETTING UP BATCH FILES TO RUN GMON
  504.  
  505. To run GMon you usually need to set up a small batch file. This
  506. batch file needs to do 4 or 5 things. These are the steps:
  507.  
  508. 1: Change directory to where GMon is located
  509. 2: Optional. Copy the BBS interface file to the GMon directory
  510. 3: Run GMon
  511. 4: Change directory back to your BBS
  512. 5: Re-run the BBS batch file (if needed)
  513.  
  514. Step 2 is optional, because in many cases you can tell GMon where to find
  515. the BBS interface file in the GMon editor (or on the command line) instead
  516. of copying it.
  517.  
  518. A sample batch file, lets call it GMON.BAT, you're running RBBS, node 2,
  519. the DORINFO2.DEF is in the \RBBS\NODE2 dir, and you are using COM3, a 
  520. non-standard port.
  521.  
  522. CD\GMON40
  523. GMON /N2 /C3,0x3E8,3,0x20,11 /F\RBBS\NODE2
  524. CD\RBBS
  525.  
  526. You would need to modify this for your set-up, but you can see how simple
  527. the batch file is.
  528.  
  529. In many cases you won't even need a command line, just 'GMON'.  Multi-node
  530. systems would just need to tell GMon which node, like so:
  531.  
  532. GMON /N4
  533.  
  534.                                                                   Page 10
  535.  
  536. BBS PROGRAMS GMON WILL RUN WITH
  537.  
  538. GMon is no longer 'RBBS-PC specific'.. It will run under many different
  539. BBS programs.  When you run GMon the first time, you will be shown the
  540. GMon editor, and there is where you will tell GMon which BBS program it
  541. is running under.  I'll give you a list of BBS programs, and what files
  542. GMon will expect to get its information from.
  543.  
  544.  
  545. RBBS-PC 15.1C & Greater (DORINFOx.DEF & MESSAGES)
  546.  
  547. In this mode, GMon will try to read the DORINFOx.DEF, and the node records
  548. of the main message base file.  When you specify that you are running GMon
  549. under this mode, you will be shown option 'C' in the main GMEdit screen.
  550. This command allows you to specify the _name_ of the main message base.
  551. Commonly this file is called either MESSAGES, or MAINM.DEF.  GMon will
  552. also ask what the BBS directory is. This is where it expects to find both
  553. the DORINFOx.DEF and main message file.  If this is not the case on your
  554. system, not to worry. If your main message file, and your DORINFOx.DEF file
  555. are in separate directories, you will need to temporarily copy your
  556. DORINFOx.DEF file to the same directory as your main message base. Then
  557. specify that directory as the BBS directory.  After you GMon is done running
  558. you could then delete that temporary copy of the DORINFOx.DEF file, it is
  559. up to you.
  560.  
  561. Why does GMon read the node records?  Well, it doesn't _have_ to, but I
  562. try to create complete file conversions, and the more info I have the
  563. better. The DORINFOx.DEF file just doesn't contain a whole lot more than the
  564. necessary info. The node records hold a lot more info on the current
  565. user.
  566.  
  567. If you don't want GMon read your main message file node records, then you
  568. can do one of two things. Don't put in any filename for the main message
  569. file (in GMEdit), or switch to QBBS mode. The former is preferable.
  570.  
  571. Since GMon both, can read _and_ write a DORINFOx.DEF and MESSAGES file
  572. (just the node records) it is imperative that you do not put any door
  573. programs in your BBS directory. Well.. okay.. it isn't imperative, but
  574. don't do it, just to be on the safe side.
  575.  
  576. RBBS-PC was the first program to create a DORINFOx.DEF file for doors.
  577. The format of the RBBS style DORINFOx.DEF file is the one I consider the
  578. standard (even though it is a bit flaky in some spots)  GMon will also read
  579. and write what I call an 'Odd DorInfo File', in other words ones which
  580. don't exactly follow the RBBS standard.  I'll explain more about that
  581. below in the special DORINFO section.
  582.  
  583.  
  584. PCBOARD 12.x & 14.x (PCBOARD.SYS)
  585.  
  586. In this mode GMon will read a PCBOARD.SYS file in the BBS directory you
  587. specify. If you have a multi node system, then you probably will have
  588. each nodes PCBOARD.SYS in different directories. If this is the case, then
  589. specify, on the command line, the directory in which to find this nodes
  590. copy of PCBOARD.SYS.  Use the '/Fxxxx' command for this (see above in
  591. the command line switch section)  The '/F' switch overrides the default
  592. BBS directory you enter inside the GMon editor.
  593.  
  594. If you find it easier to rename your PCBOARD.SYS files for each node
  595. (PCBOARD1.SYS.. PCBOARD2.SYS.. etc.) and put them all in the same directory
  596. (like some doors require) you can do this with GMon too.  Tell GMon that
  597. you are running PCB 12 or 14 (depending on your version of PCBoard) _and_
  598. turn on the 'BBS info file has node#' switch.  GMon will then look for
  599.  
  600.                                                                   Page 11
  601.  
  602. a PCBOARDx.SYS (where 'x' is the node number on the cmd line) This is
  603. not standard operation, but will work just fine.
  604.  
  605. GMon will read only the PCBOARD.SYS file in PCB mode.  It will not read
  606. your PCBOARD.DAT, or user file.
  607.  
  608.  
  609. WILDCAT! 2.x  (CALLINFO.BBS)
  610.  
  611. In this mode GMon will read the CALLINFO.BBS file in the directory you
  612. specify in the GMon editor.  If you have more than one directory in which 
  613. GMon may need to find the CALLINFO file, then you can specify each directory
  614. on the command line instead using the '/Fxxxx' command line parameter.
  615.  
  616.  
  617. GAP & WILDCAT! 3.x  (DOOR.SYS)
  618.  
  619. In this mode GMon will read the DOOR.SYS file in the directory you specify
  620. in the GMon editor.  If you have more directory in which GMon may need to
  621. find the DOOR.SYS file (as in a multi-node set-up), then you can specify 
  622. each directory on the command line instead using the '/Fxxxx' command line
  623. parameter.
  624.  
  625.  
  626. RA 1.x  (EXITINFO.BBS & DORINFOx.DEF)
  627.  
  628. In RA mode, GMon will try to read both the DORINFO1.DEF and EXITINFO.BBS
  629. files in the BBS directory you specify in the GMon editor. If you are
  630. running multiple nodes, then you will have multiple directories in which
  631. to find these two files (according to node). If this is the case, then
  632. you will need to use the '/Fxxxx' command line parameter to tell GMon
  633. where to find those two files for that node. Both of those files should
  634. be in the same directory.
  635.  
  636.  
  637. OPUS 1.1x  (LASTUSxx.DAT)
  638.  
  639. Gmon will try to read the LASTUSxx.DAT file in the directory you specify
  640. in the GMon editor in this mode. 'xx' is the node number (in HEX format)
  641. and GMon will put in the node number according to the node number you
  642. specify (in DECIMAL) on the command line.  For instance, if you had a 10
  643. node system and this copy of GMon was running on node 10, then you would
  644. tell GMon the node was node 10 like this:  'GMON /N10'     GMon would
  645. then look for the following filename: 'LASTUS0A.DAT'
  646.  
  647. I haven't been told whether or not the LASTUSER file has changed with
  648. OPUS 1.7.. so I am going to take a wild guess and say it hasn't changed.
  649. Let me know if I made the wrong assumption.
  650.  
  651.  
  652. SPITFIRE  (SFDOORS.DAT)
  653.  
  654. GMon will look for an SFDOORS.DAT file in the BBS directory you specified.
  655. If you have multiple SFDOORS.DAT files, then use the '/Fxxxx' command line
  656. parameter.
  657.  
  658.  
  659. WWIV  (CHAIN.TXT)
  660.  
  661. In this mode, GMon will look for a CHAIN.TXT file in the BBS directory you
  662. specify in the GMon editor.  If you have multiple CHAIN.TXT files in 
  663. multiple directories, then you can override the default BBS directory
  664. with the '/Fxxxx' command.
  665.                                                                   Page 12
  666.  
  667. GTPOWERCOMM  (GTUSER.BBS)
  668.  
  669. [Not Implemented.. yet]
  670.  
  671.  
  672. PHOENIX  (INFO.BBS)
  673.  
  674. [Not Implemented.. yet]
  675.  
  676.  
  677. QBBS  (DORINFOx.DEF)
  678.  
  679. In this mode GMon will look for information in the DORINFOx.DEF file. The
  680. DORINFO file is searched for in the path that you specified in the GMon
  681. editor.  If you have more than one path in which to find those DORINFO
  682. files, then you will need to use the '/Fxxxx' command to tell GMon where
  683. to locate the DORINFO file it needs.
  684.  
  685.  
  686. SPECIAL CASE  (DORINFO1.DEF)
  687.  
  688. I threw this one in there for doors which can only read a DORINFO1.DEF
  689. (it appears that this is so, even though that '1' should be whatever
  690. the node is.)  GMon can also read from just a DORINFO1.DEF (no matter
  691. what the node number is) if your BBS program creates a DORINFO1.DEF by
  692. that filename only. And this mode _requires_ that!   I don't know if
  693. anyone would have any use for that, but it's in there anyway.
  694.  
  695. In this mode GMon will read the DORINFO1.DEF file no matter what node
  696. number you specify.  So be wary when using this mode.
  697.  
  698.  
  699. OTHER BBS INTERFACE INFO
  700.  
  701. If your BBS info filename normally does not have a node number in it, but
  702. on your BBS you rename those files to reflect the node, GMon can operate
  703. in that fashion.  If you turn on the 'BBS Info File Name Has Node #' switch
  704. GMon will look for a filename with a node number in files that usually don't
  705. contain one.  ie. If you tell GMon you are running under Wildcat! 2.x, GMon
  706. will normally look for CALLINFO.BBS.. but if you turn on the above switch
  707. GMon will look for CALLINFx.BBS  where 'x' is the node number.
  708.  
  709. The following files, which normally don't have node numbers in the filename,
  710. will be converted like so (with the special switch turned on):
  711.  
  712. PCBOARD.SYS    ->     PCBOARDx.SYS
  713. CALLINFO.BBS   ->     CALLINFx.BBS
  714. DOOR.SYS       ->     DOORx.SYS
  715. EXITINFO.BBS   ->     EXITINFx.BBS
  716. SFDOORS.DAT    ->     SFDOORSx.DAT
  717. GTUSER.BBS     ->     GTUSERx.BBS
  718. INFO.BBS       ->     INFOx.BBS
  719.  
  720. 'x' is the node number.
  721.  
  722. Once again, I don't know if there is much use for this option, but it fit
  723. into the code automatically.. so I wanted to document it!
  724.  
  725.  
  726. Thats it for BBS's which GMon can operate with.
  727.  
  728.                                                                   Page 13
  729.  
  730. HOW TO INTERFACE YOUR UNSUPPORTED BBS TO GMON
  731.  
  732. I suggest two different methods of interfacing to GMON. Both are
  733. simple text files. One is more complex than the other, but contains
  734. more complete information on the user. First I'll cover the DORINFOx.DEF
  735. standard, then the DOOR.SYS standard.
  736.  
  737. The DORINFOx.DEF file. The 'x' in the filename is always the node number.
  738. So for a single node BBS, the file would be named:
  739.  
  740. DORINFO1.DEF
  741.  
  742. For multi-node BBS programs, the file would be named like so:
  743.  
  744. DORINFO1.DEF for node 1.    DORINFO2.DEF for node 2 etc.
  745.  
  746. This file is an RBBS-PC standardized file, and there are only 36 node
  747. numbers supported. the 36 nodes are numbered like so:
  748.  
  749. 1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ
  750.  
  751. So, node 10's DORINFO file would be DORINFO0.DEF, node 36's would be
  752. DORINFOZ.DEF
  753.  
  754. GMon accepts a command line parameter to specify the current node number.
  755. If your command line read
  756.  
  757. GMON /N8
  758.  
  759. GMON would look for DORINFO8.DEF. Get the idea?
  760.  
  761. Now we move onto the format of the file itself.
  762.  
  763. The format of the DORINFO file is as follows:
  764.  
  765. BBS Name
  766. SysOps First Name
  767. SysOps Last Name
  768. Com Port
  769. BPS Rate and Parity
  770. RBBS Network type
  771. Current Users First Name
  772. Current Users Last Name
  773. Current Users City/State
  774. Graphics
  775. Security Level
  776. Minutes Left in Session
  777. FOSSIL Driver present
  778.  
  779.                                                                   Page 14
  780.  
  781. All lines are in capital letters. I'll give you two examples of what the
  782. file typically look like:
  783.  
  784. Example 1                                Example 2
  785.  
  786. THE ABANDONED LAND                       THE ABANDONED LAND
  787. JOHN                                     JOHN
  788. MORRIS                                   MORRIS
  789. COM2                                     COM0
  790. 2400 BAUD,E,7,1                          9600 BAUD,N,8,1
  791.  0                                        3
  792. JOE                                      SYSOP
  793. BBS
  794. RENO, NV                                 RENO, NV
  795.  0                                        2
  796.  5                                        20
  797.  57                                       119
  798.  0                                       -1
  799.  
  800. In example 1, the remote user is at 2400 BPS, even parity, with 7 data
  801. bits. No graphics (regular text), and RBBS is not using a FOSSIL driver.
  802.  
  803. In example 2, the local user is the SysOp. ANSI color is on, and a FOSSIL
  804. driver is present.
  805.  
  806. There are several 'quirks' in the DORINFO standard. They are as follows.
  807.  
  808. 1:  A local user is online when the com port is set to COM0
  809.     Also, GMon will recognize a BPS rate of '0' as a local user, but
  810.     this is not the standard method.
  811.  
  812. 2:  When the SysOp is using the game, the 'Current Users First Name' is
  813.     "SYSOP" (without the quotes), and 'Current Users Last Name' is ""
  814.     a null string. (the only chars found on that line are a carriage
  815.     return/linefeed combo)
  816.     Also acceptible is setting the Users first and last name to match
  817.     the SysOps first and last name exactly, but this also in not standard.
  818.  
  819. 3:  Graphics are off when a 0 is found in the graphics field. RBBS-PC
  820.     uses a 1 when the user can accept IBM high bit chars, and 2 for
  821.     ANSI color.  When in RBBS mode, a 2 is needed to turn on ANSI color
  822.     in GMon. When in QBBS mode, a 1 in the graphics field will turn on
  823.     ANSI color.
  824.  
  825.     This difference is due to different BBS's doing slightly different
  826.     tweakage to the DORINFO standard. GMon tries its best to cope with
  827.     these differences.
  828.  
  829. 4:  Note the BPS Rate and Parity field. Whatever the BPS Rate and Parity
  830.     is, it must match the format shown!  Here are some more examples:
  831.  
  832.     300 BAUD,N,8,1
  833.     1200 BAUD,E,7,1
  834.     19200 BAUD,N,8,1
  835.  
  836.     GMon will parse out the " BAUD" part of the string, and go from there.
  837.  
  838. 5:  GMon doesn't use all the fields in the DORINFO file. Here are the fields
  839.     GMon DOES NOT use:  BBS Name, SysOps first or Last name, Network type,
  840.     and FOSSIL driver.  These lines are not used, but must still be present
  841.     in one form or another.
  842.  
  843. 6:  Everything in the file should be in CAPS.
  844.                                                                   Page 15
  845.  
  846. 7:  The space seen in front of the numbers is due to the way BASIC writes
  847.     numbers to disk. They may or may not be present. Doesn't matter really.
  848.  
  849. This file is small and simple, and I like it. The only real drawback is
  850. the limited number of nodes, and lack of complete information on the
  851. system it is running under. But it does what it set out to do, run
  852. doors, and it does that just fine.
  853.  
  854.  
  855.  
  856. The DOOR.SYS file.  The DOOR.SYS file is also a text file but contains
  857. more information about the system it is running on, and more information
  858. on the user too.
  859.  
  860. The DOOR.SYS file always keeps the same name. It is just found in 
  861. different subdirectories for different nodes. So when you run GMon, you
  862. need to tell it where to find the DOOR.SYS file for that node. You
  863. use the '/Fxxxx' command to do it.
  864.  
  865. GMon uses the 52 line version of this file, which is a super-set of the
  866. original DOOR.SYS file.  If this is an inconvenience, then I'll make a
  867. mode which will accept the old style DOOR.SYS file also.
  868.  
  869. We'll drop to the next page to explore the file format.
  870.                                                                   Page 16
  871.  
  872. The format of the file is as follows: (with some notes on exact format)
  873.  
  874.  
  875.     
  876. Com Port  (COM1: for com port 1.  COM0: is used for local user)
  877. BPS Rate  (Speed user called in at  300-38400)
  878. Parity    (7 or 8)
  879. Node Number (1 to 99)
  880. DTE Rate (actual com port speed to use)
  881. Display      On/Off  (Y=On  N=Off)
  882. Printer      On/Off  (Y=On  N=Off)
  883. Page Bell    On/Off  (Y=On  N=Off)
  884. Caller Alarm On/Off  (Y=On  N=Off)
  885. Full User Name
  886. Users City/State
  887. Home Phone
  888. Data Phone
  889. Password
  890. Security Level
  891. Total Times On
  892. Last Date Called
  893. Seconds Remaining This Call
  894. Minutes Remaining This Call
  895. Graphics Mode  (GR = Graphics, NG = No Graphics, 7E = E,7,1)
  896. Page Length
  897. Xpert Mode  (Y = Expert, N = Novice)
  898. Conferences Registered In
  899. Conference In When Opened Door
  900. Expiration Date    (mm/dd/yy)
  901. User File Record Number
  902. Default Xfer Protocol  (C, X, Y, Z, Etc.)
  903. Total Uploads
  904. Total Downloads
  905. Daily K-Bytes Downloaded
  906. Daily Maximum K-Bytes To Download
  907. Callers Birthday  (mm/dd/yy)
  908. Path to User File
  909. Path to GEN Directory (?)
  910. SysOps Name (as on BBS)
  911. SysOps Alias
  912. Event Time (hh:mm)
  913. Error Correcting Modem  (Y or N)
  914. ANSI Supported By User but Not Being Used (Y or N)
  915. Use File Locking (Y or N)
  916. Default Color (IBM type color code.. 1 to 15)
  917. Time Credits In Minutes (this can be positive or negative)
  918. Last New Files Scan Date (mm/dd/yy)
  919. Time Of This Call (hh:mm)
  920. Time Of Last Call (hh:mm)
  921. Maximum Daily Files Available
  922. Files Downloaded Today
  923. Total K-Bytes Uploaded
  924. Total K-Bytes Downloaded
  925. Comment On User
  926. Doors Opened
  927. Messages Left By User
  928.  
  929.  
  930. As you can see, this file has a LOT of information in it.  GMon will not
  931. use even a half of that info. But the DOOR.SYS file is intended as a
  932. standard for all BBS's to use. And hopefully more of them will use it
  933. in the future. On the next page, I'll give you an example of what a 
  934. DOOR.SYS file might look like.
  935.                                                                    Page 17                                                
  936.  
  937. On this page I'll give you an idea of what a DOOR.SYS file might look like.
  938.  
  939. COM2:
  940. 9600
  941. 8
  942. 1
  943. 19200
  944. Y
  945. N
  946. N
  947. N
  948. Joe Bbs
  949. Reno, NV
  950. 702 746-1364
  951. 702 746-1365
  952. BAGEL
  953. 10
  954. 125
  955. 01/01/95
  956. 2701
  957. 45
  958. GR
  959. 24
  960. Y
  961. 1,2,3,4
  962. 3
  963. 01/01/96
  964. 54
  965. Z
  966. 0
  967. 15
  968. 100
  969. 1024
  970. 12/31/60
  971. C:\BBS
  972. C:\GEN
  973. John Morris
  974. E-Male
  975. 02:00
  976. Y
  977. N
  978. Y
  979. 12
  980. -5
  981. 01/01/95
  982. 03:47
  983. 05:12
  984. 20
  985. 1
  986. 0
  987. 2314
  988. Likes To Play TW2
  989. 176
  990. 18
  991.  
  992.  
  993. Just another ordinary text file. Most of the information contained in the
  994. file makes life easier for file transfer doors to work. (lots of file
  995. xfer info contained in the file)
  996.                                                                   Page 18
  997.  
  998. Some notes on the DOOR.SYS file.
  999.  
  1000. 1. Like the DORINFO file, a local user is specified by saying COM0:
  1001.    (note the different format of the com port string. The DORINFO file
  1002.     uses COM0, while the DOOR.SYS file uses COM0:  a colon is added.)     
  1003.  
  1004. 2. Use the DTE rate line to give the speed to open the port at.
  1005.    There is a difference between the BPS rate and the DTE rate. Say your
  1006.    BBS modem is locked at 19200 at all times. Some guy calls in at 2400.
  1007.    The BPS rate would be 2400, but the DTE rate would be 19200.
  1008.  
  1009. 3. GMon will use the 'seconds left in session' field to get the time 
  1010.    remaining.
  1011.     
  1012. 4. GMon will use field 4 to get the node number instead of you having to
  1013.    specify it on the command line.      
  1014.  
  1015. That is pretty much the extent of it. When making the file make sure you
  1016. fill in all the info, even if it is faked!  Every line has to be there so
  1017. GMon won't get out of sync with the contents of the file.
  1018.  
  1019.  
  1020. GETTING STARTED WITH GMON
  1021.  
  1022. GMon is simple to set-up.   Simply unZIP the contents of the GMon ZIP
  1023. file into its own directory. Then run GMon with the command:
  1024.  
  1025. INSTALL
  1026.  
  1027. This batch file will provide you with a bit of info, then run GMon.
  1028. GMon will then create GMON.DEF, USERS.GMN, and PROGS.GMN.  You are then
  1029. brought into the GMon editor automatically. At this point you want to
  1030. change the GMon defaults to match your system.  You can edit these at
  1031. any time, but you might as well do it the first time you run it. 
  1032.  
  1033. Add in some games using the program editor.. and..
  1034.  
  1035. After you have used the GMon editor, you can exit out, and create the
  1036. batch file which will run GMon. See the batch file section (above) on 
  1037. how to do that.
  1038.  
  1039. Make GMon available to your users on your BBS, and away you go!
  1040.  
  1041.  
  1042. GMON EDITOR PROGRAM
  1043.  
  1044. The GMon editor is part of the main GMon program.  In local mode, you use
  1045. the 'E' command to enter the editor.  Once you have entered the editor
  1046. you will see a screen full of options you can edit.  I'll go thru these
  1047. options one by one.
  1048.  
  1049. A - GMon Directory
  1050.  
  1051.     This is set automatically by GMon when it is first run.  If you need
  1052.     to change this from the default, then do so here.
  1053.  
  1054. B - BBS Directory
  1055.  
  1056.     This is the directory in which GMon expects to find the BBS info files
  1057.     To read.  If you have more than one directory containing the BBS info
  1058.     files, then you can override this default BBS directory by using the
  1059.     '/Fxxxx' command line parameter.
  1060.                                                                   Page 19
  1061.  
  1062. C - RBBS Message File Name
  1063.  
  1064.     This option is used only to specify the _name_ of the main RBBS
  1065.     message base (usually MESSAGES, or MAINM.DEF).  GMon will use this
  1066.     name when in reading a messages file in RBBS-PC mode, and will also
  1067.     use this name when writing a pseudo-messages file when the in 'RBBS'
  1068.     mode for a door.         
  1069.  
  1070. D - Bulletin Menu Name
  1071.  
  1072.     This is the name of the menu shown to the user when they choose the
  1073.     B)ulletin command. The default name is BLT.   All GMon bulletins 
  1074.     must reside in the GMON directory at this point in time.
  1075.  
  1076. E - Bulletin Prefix Name
  1077.  
  1078.     GMon bulletins are numbered.  Here you give the prefix of the filename
  1079.     onto which GMon will append the numbers.  The default is BLT.  If the
  1080.     user chose to read bulletin 1, GMon would search for the filename
  1081.     'BLT1'  GMon will also accept separate text and color versions of
  1082.     each bulletin.  See the GMon text file section for more info on that.
  1083.  
  1084. F - Last Maintenance Run        * Currently not editable.. coming soon..
  1085.  
  1086.     This is the date and time that the maintenance program last ran.  The
  1087.     maintenance program serves to clean up the USERS.GMN file, so it
  1088.     doesn't grow overly large.
  1089.  
  1090. G - Time Between Uses Of GMon   * Currently not editable.. coming soon..
  1091.  
  1092.     If you don't want users entering GMon, then going back, and then
  1093.     immediately rerunning GMon, then you can tell GMon not to let that
  1094.     user back on until a specified time period has occured.  In other
  1095.     words, the users will have to wait the period you specify before
  1096.     they can re-enter GMon.
  1097.  
  1098. H - Maximum Days Of Inactivity
  1099.  
  1100.     This is period of time GMon will keep an inactive user in the user
  1101.     file.  After this date, the user will be deleted from the USERS.GMN
  1102.     file.
  1103.  
  1104. I - Local Foreground Color              *   Not currently used.
  1105.  
  1106.     This is the color of the foreground on the local SysOp screen. Not used
  1107.     when the user is in ANSI mode.
  1108.  
  1109. J - Local Background Color              *   Not currently used
  1110.  
  1111.     This is the color of the background on the local SysOp screen. Not used
  1112.     when the user is in ANSI mode.
  1113.                                                                   Page 20
  1114.  
  1115. K - Bulletin Path     
  1116.   
  1117.     This is the path where GMon can find the bulletins it is to display.
  1118.     All bulletins should be located here.
  1119.  
  1120. L - Keyboard Time-Out Period
  1121.  
  1122.     This is the time in which GMon will wait for user input. Past this time
  1123.     period, and the user is automatically logged off.
  1124.  
  1125. M - Maximum Number Of Nodes
  1126.  
  1127.     Set this to the maximum number of nodes in your system.
  1128.  
  1129. N - SysOp Security Level
  1130.  
  1131.     This is the security level used by the SysOp. Valid numbers are -32767
  1132.     to 32767 (standard integer range).  Default is level 10.  SysOp commands
  1133.     are also set to have a default level of 10.. Don't forget to change
  1134.     these if your security level is different.
  1135.  
  1136. O - SysOps First Name
  1137.  
  1138.     This your first name.
  1139.  
  1140. P - SysOps Last Name
  1141.  
  1142.     This is your last name. (if any)
  1143.  
  1144. Q - System Name
  1145.  
  1146.     This is the name of your BBS.
  1147.  
  1148. R - BBS Type
  1149.  
  1150.     This is the type of BBS program that GMon is running with. See the
  1151.     'BBS PROGRAMS GMON RUNS WITH' section for more info.
  1152.  
  1153.     When editing this, you will be shown a complete list of BBS types GMon
  1154.     will run with.  Pick one from the list.
  1155.  
  1156. S - Swap Directory
  1157.  
  1158.     When GMon runs a door program it will 'Swap' itself out of memory to
  1159.     provide the maximum amount of memory to the door. If GMon can't locate
  1160.     any EMS, or XMS memory to use for the swap, then it will swap itself
  1161.     to disk.  You can specify a ram disk here, if you have one, to make
  1162.     the swap just as fast as one to EMS, or XMS.  The default swap dir
  1163.     is the current GMon directory.
  1164.  
  1165. T - Comm Input Buffer  (not used when a FOSSIL driver is present)
  1166.  
  1167.     This is the size of the communications port input buffer in bytes.
  1168.     The default is 256, and you should be able to leave it set to this.
  1169.  
  1170. U - Comm Output Buffer (not used when a FOSSIL driver is present)
  1171.  
  1172.     This is the size of the communications port output buffer in bytes.
  1173.     The default is 256, but valid sizes are 128 to 4096.  256 to 1024
  1174.     are good sizes.
  1175.                                                                   Page 21
  1176.  
  1177. V - Program Files By Node?
  1178.  
  1179.     The door programs GMon has access to are kept in a file called
  1180.     PROGS.GMN. This file is normally used by all nodes, but if you
  1181.     want separate PROGS.GMN files for each node, then turn this option
  1182.     on.  The file that GMon would then look for is PROGxx.GMN where
  1183.     'xx' is the node in HEX format.  Each node would then have to
  1184.     have its own PROGxx.GMN file.
  1185.  
  1186.     If you wish to have a special PROGS.GMN file, lets say for a
  1187.     certain node, you can override the default PROGS.GMN filename
  1188.     by using the '/Pxxxx' command, where 'xxxx' is the name of the
  1189.     PROGS.GMN file you wish to use. See command line section for more
  1190.     info.
  1191.  
  1192. W - Prompt has commands?
  1193.  
  1194.     GMon has one main prompt.  You can either have GMon show the valid
  1195.     command letters in the prompt, or leave them out. The prompts look
  1196.     like so:
  1197.  
  1198.     <with>
  1199.     [30 min. left] GMON Command <A,B,..,X>?
  1200.  
  1201.     <without>
  1202.     [30 min. left] GMON Command?
  1203.  
  1204.     If the user has insufficient security for a certain command, it is
  1205.     not included in the prompt. They are shown only commands they can use.
  1206.  
  1207. X - Programs By Category?
  1208.  
  1209.     On systems with a LOT of doors, it is easier for a user to list games
  1210.     by category.  When they want a list of games, they are asked which
  1211.     category to use, then they are shown the games that are in that
  1212.     category only.  You create valid category names using the '!' command
  1213.     (see below)  Up to 20 are allowed, and it's your job to keep track
  1214.     of the categories.  You will have to edit each game to tell GMon which
  1215.     category it should be placed in.
  1216.  
  1217. Y - Allow User Aliases?
  1218.  
  1219.     This will allow a user to use an alias when playing the games. They
  1220.     will be asked for their alias when they first log on to GMon.  They
  1221.     cannot change it after that.  Let me know if you think they should
  1222.     be able to change their alias.
  1223.  
  1224. Z - Keep a Log?
  1225.  
  1226.     Should GMon keep a log of what is occuring?  If so, it will log info
  1227.     to GMON.LOG
  1228.  
  1229. 1 - Network Mode?
  1230.  
  1231.     GMon requires DOS 3.1 (or greater) to run, and will almost always 
  1232.     open a file in shared mode even with network mode turned off!  Network
  1233.     mode tells GMon to lock records in those files when it makes changes.
  1234.  
  1235.     GMon never keeps file open for more than a split second anyway, so
  1236.     clashes rarely, if ever, take place.
  1237.                                                                   Page 22
  1238.  
  1239. 2 - Debug Mode?
  1240.  
  1241.     This will tell GMon to show a little extra info on the local SysOp
  1242.     screen.  If there is a question as to whether GMon is reading the
  1243.     right files, or getting the users name or BPS rate correct, you
  1244.     can turn this on to check things out.
  1245.  
  1246. 3 - Use .ASC & .ANS for text files?
  1247.  
  1248.     GMon can treat text/color text files in 4 different manners!  If your
  1249.     BBS program normally uses .ASC to indicate a plain text file, and .ANS
  1250.     to indicate an ANSI text file, then turn this switch on to make GMon
  1251.     act in a similar manner to your BBS program.
  1252.  
  1253.     This is also how TheDraw names its ASCII, and ANSI files.
  1254.  
  1255.     Lets say a user wanted to read bulletin 1.. In this mode, a plain text
  1256.     bulletin 1 would be called:  BLT1.ASC   A color bulletin 1 would be
  1257.     called BLT1.ANS
  1258.    
  1259.     See the text file section for more info.
  1260.  
  1261. 4 - Max # of Bulletins
  1262.  
  1263.     This is the maximum number of bulletins GMon will look for, or allow.
  1264.     You can actually have 'fewer' than this number of bulletins, but GMon
  1265.     won't recognize bulletins if they are numbered higher than this amount.
  1266.  
  1267. 5 - Use PCBoard style names for text files.
  1268.  
  1269.     This switch is similar in function to the ASC/ANS switch but enables
  1270.     the PCBoard method of naming text/color files.  The letter 'G' is
  1271.     always appended to a filename if it is a color file. So..
  1272.  
  1273.     Lets say a user wanted to read bulletin 1.. In this mode, a plain text
  1274.     bulletin 1 would be called:  BLT1   A color bulletin 1 would be
  1275.     called BLT1G
  1276.  
  1277. 6 - Log Files By Node?
  1278.  
  1279.     Use this to have GMON.LOG files separatly created for each node. They
  1280.     will have the filename GMONx.LOG (where 'x' is the node number). If you
  1281.     have more than 1 node, and you choose _not_ to have separate log files,
  1282.     the node number will be prepended to each entry.
  1283.  
  1284. @ - BBS Interface filename has node #?
  1285.     This will make GMon look for a BBS info file with a node number in it
  1286.     when it normally doesn't have a node number. See the 'BBSs GMon runs
  1287.     with' section.
  1288.  
  1289. # - Smart Text Character
  1290.     This tells GMon which character denotes smart text. Default is '%'.
  1291.  
  1292. 7 - Edit GMon Command Letters And Security Levels.
  1293.  
  1294.     When you enter this command you will be shown a screen with all the
  1295.     available commands, what letter executes that command, and what
  1296.     security level is needed to execute that command.
  1297.  
  1298.     If you wish to change a command, enter the number of the command,
  1299.     you will be asked which letter should invoke that command. If you
  1300.     type [ENTER] then the letter won't be changed.  You will then be
  1301.     asked for the security level needed to use this command.
  1302.                                                                   Page 23
  1303.  
  1304.     Three commands are considered SysOp commands, D)elete log, E)ditor,
  1305.     and L)og viewer.  So set these to the security level you deem 
  1306.     appropriate.
  1307.  
  1308. 8 - Edit GMon Time Limits
  1309.  
  1310.     Here you will be shown a screen with security levels, and their
  1311.     associated time limits.  You can set a session time limit, a
  1312.     daily time limit, and you can set a certain when the user can use
  1313.     GMon. If they call out side of that time period, they aren't
  1314.     allowed in! You can also associate a 'Name' with a security level.
  1315.     This is for BBS programs which use security names instead of numbers.
  1316.     GMon thinks in numbers, so it will convert Names to Numbers, and
  1317.     vice versa. (Names of up to 20 chars are allowed. Case is important)
  1318.  
  1319.     There are 20 time limits allowed. If your system has more than 20
  1320.     valid time limits, not to worry! read on.
  1321.  
  1322.     You should enter time limits in numerical order according to security
  1323.     level.  On my system I have security levels ranging from 1 to 20,
  1324.     but I only use a few of those 20 security levels.  My time limit
  1325.     screen looks like so:
  1326.  
  1327.      #. SecLvl Session  Daily Start Finish  Name
  1328.      1.      1      30     45 06:00 18:00   SCREWOFF
  1329.      2.      5      30     60 00:00 23:59   NORMAL
  1330.      3.      6      30     75 00:00 23:59   GUESTSYSOP
  1331.      4.      7      45     90 00:00 23:59   COOLDUDE
  1332.      5.      8      45     90 00:00 23:59   REALLYCOOL
  1333.      6.      9      45     90 00:00 23:59   DONATOR1
  1334.      7.     10      45     90 00:00 23:59   DONATOR2
  1335.      8.     15      45     90 00:00 23:59   ASSTSYSOP
  1336.      9.     20      60    120 00:00 23:59   SYSOP
  1337.     10.  32767      30     60 00:00 23:59
  1338.     11.  32767      30     60 00:00 23:59
  1339.      .
  1340.      .  (all these in here are the same)
  1341.      .
  1342.     20.  32767      30     60 00:00 23:59
  1343.  
  1344.     GMon will read thru this list BACKWARDS from 20 until it finds a
  1345.     security level 'less than or equal' to the current users security
  1346.     level. If you're using Security 'Names' there must be an exact match.
  1347.  
  1348.     So if it was a level 20 user, it would search 20 thru 10 without
  1349.     finding a match. Number 9 is a 'equal' to the user, so the time
  1350.     limits shown would be used: 60 minutes per session, 120 per day.
  1351.     And they are allowed on basically all day.
  1352.  
  1353.     What happens if the user is a level 12?  It isn't listed!  Well
  1354.     GMon would search thru the list 20 thru 8 without finding a
  1355.     match, but it would see that entry 7 fits the 'less than or equal to'
  1356.     rule, and use the level 10 limits as the default.
  1357.  
  1358.  
  1359. 9 - Edit Programs That GMon Can Execute
  1360.  
  1361.     Here is where you tell GMon which programs it can execute, and what
  1362.     'flavor' to make 'em.
  1363.  
  1364.     You will be asked which program to edit, 'A' to add a pgm, 'D' to
  1365.     delete a pgm, 'L' to list all current programs, 'R' to rebuild the
  1366.     program file (deletes empty records, you rarely need to use this!).
  1367.                                                                   Page 24
  1368.  
  1369.     If you choose A)dd, then GMon will look for an empty record, or add
  1370.     on a new record, and make a dummy filename for the program.  You will
  1371.     then be asked to edit that program.  You will need to change the
  1372.     dummy filename to the one you actually want. 
  1373.     When you just enter the game number, you will be shown a screen with
  1374.     same options as when you add a game. Here are those options:
  1375.  
  1376.     A - Program Name
  1377.  
  1378.         This is the name of the program the user will see.  It is also the
  1379.         name of the COM, EXE, or BAT file that GMon will execute.  If that
  1380.         name is 'TW2' then GMon will expect to find either 'TW2.COM',
  1381.         'TW2.EXE', or 'TW2.BAT' to run the game! It will look for a batch
  1382.         file only if you turn the 'use batch file command' on.
  1383.         The 'COM' or 'EXE' file is searched for in the 'Program Directory'
  1384.         whereas the 'BAT' file is searched for in the current GMon directory.
  1385.         ** That is important to remember! **
  1386.  
  1387.     B - Program Directory
  1388.  
  1389.         This is where the program is located. This should be full drive
  1390.         and path, with no trailing backslash.  This can be on a different
  1391.         drive than GMon! No problems there.  GMon will changes drives _and_
  1392.         directories when it executes a COM or EXE file.  
  1393.  
  1394.         This is also the directory where GMon will write the info files that
  1395.         that program needs.
  1396.  
  1397.     C - Program Command Line
  1398.  
  1399.         You can specify the _exact_ command line you need to use to run
  1400.         this program, up to 128 chars long.  GMon will not use this command
  1401.         line unless you use the 'Use Cmd Line' option. (below)
  1402.  
  1403.         If you tell GMon to 'Use Cmd Line' but you don't have a command
  1404.         line specified here, then GMon will use the command line used to
  1405.         invoke GMon as the command line for the program.
  1406.  
  1407.         The following Macros are valid in Command Lines _and_ Environments.
  1408.         The 2 char combinations are converted to information based on the
  1409.         current user & BBS info. (Default macro char is '%' you can change it)
  1410.  
  1411.         %a  =  Full Alias Name            %n  =  Full User Name 
  1412.         %b  =  Modem to Modem BPS Rate    %N  =  Node Number
  1413.         %B  =  PC to Modem BPS Rate (DTE) %o  =  SysOps First Name
  1414.         %c  =  Com Port Number            %O  =  SysOps Last Name
  1415.         %C  =  Com Port as 'COM#'         %p  =  Parity (N or E)
  1416.         %d  =  Data Bits  (7 or 8)        %P  =  Pause Screen
  1417.         %f  =  Users First Name           %s  =  Security Level
  1418.         %g  =  GMon Directory             %S  =  System (BBS) Name
  1419.         %G  =  ANSI Graphics 1=yes, 0=no  %t  =  Seconds Left in Session 
  1420.         %l  =  User Last Name             %T  =  Minutes Left in Session
  1421.         %L  =  Local Mode 1=yes, 0=no    
  1422.         For instance, if you were running a door that only need the node
  1423.         number on the command line, you would set the command line to:
  1424.  
  1425.         %N
  1426.  
  1427.         If it was on node 2, then the '%N' would be converted to '2' before
  1428.         being sent to the program as the command line. As you can see, you
  1429.         can put a whole lot more on the command line than just the node
  1430.         number!  This will help you run doors which expect complete user info
  1431.         on the command line.
  1432.         These macros can be put right along side regular text also.                                                                   Page 25
  1433.  
  1434.     D - Program Environment
  1435.  
  1436.         You can specify an separate environment for each program!  Some
  1437.         doors need an environment variable to control how it works. For
  1438.         instance, DoorPatch doors used to require that you put the statement
  1439.         "SET DOORPCH=PCB" in your environment.  Well instead of doing that
  1440.         and using up some of your valuable environment space, you can tell
  1441.         GMon the environment is 'DOORPCH=PCB'  and do it that way.  Much
  1442.         simpler.
  1443.  
  1444.         Most programs will NOT need their own environment.  This is just
  1445.         for those rare instances when a door will need some extra info.
  1446.         If you don't specify an environment, then the program recieves
  1447.         a copy of the 'parent' environment (the one GMon got..)
  1448.  
  1449.         The Macros shown above will work equally well in the environment!
  1450.  
  1451.     E - Program Security
  1452.  
  1453.         This is the security level required to run this program.  If the
  1454.         user doesn't have a security level high enough then the program
  1455.         will not even be loaded into memory, and therefore they can
  1456.         use it. GMon, in fact, wouldn't even know of the programs existance,
  1457.         so the user could not even hack away and get into that program.
  1458.  
  1459.     F - Program Type
  1460.  
  1461.         This is a similar list as to what you read in the 'BBS PROGRAMS
  1462.         GMON WILL RUN WITH' section. This controls which interface file(s)
  1463.         GMon will create for that door. All interface files are created in
  1464.         the program directory you specified (with no exceptions).
  1465.  
  1466.       RBBS-PC 15.1C & Greater  (DORINFOx.DEF & MESSAGES)
  1467.  
  1468.         In this mode GMon will created an RBBS-PC standard DORINFOx.DEF
  1469.         file, and a 'pseudo' MESSAGES file with just a checkpoint, and
  1470.         node records.  The MESSAGES file name is the one you specified in
  1471.         the main GMon editor screen.  If no filename is given for the 
  1472.         main message file, then this file isn't written.
  1473.  
  1474.         NOTE: I consider the RBBS-PC DORINFOx.DEF file the standard for
  1475.         DORINFO files!  The DORINFOx.DEF file created in the QBBS mode
  1476.         is slightly different. 
  1477.  
  1478.         The differences are:
  1479.  
  1480.         In RBBS mode the 'User First & Last Name' when a SysOp is on-line
  1481.         is 'SYSOP' & '' (null) respectively.  In QBBS mode, the first
  1482.         and last name are the same as the SysOps first and last name when
  1483.         the SysOp is on.
  1484.  
  1485.         In RBBS mode a local user is specified by 'COM0' on the com port
  1486.         line. RBBS sets the BPS rate to 9600 for a local user. In QBBS
  1487.         mode a local user has a com port of 'COM0' and a BPS rate of 0.
  1488.  
  1489.         In RBBS mode a '2' is required in the graphics field to turn indicate
  1490.         ANSI mode. In QBBS a 1 means ANSI mode.
  1491.  
  1492.         I also don't think QBBS mode has a FOSSIL driver indication line.
  1493.  
  1494.         Those are the main ones.  If you encounter a door which doesn't
  1495.         appear to work correctly with an RBBS DORINFO file, then try
  1496.         the QBBS style DORINFO file.
  1497.                                                                   Page 26
  1498.  
  1499.         I hate it when standards get hashed around like that! <g>
  1500.  
  1501.       PCBoard 12.1 (PCBOARD.SYS,  PCBOARD.DAT, USERS)
  1502.       PCBoard 14.x (PCBOARD.SYS,  PCBOARD.DAT, USERS)
  1503.  
  1504.         In PCBoard 12.x mode, a PCBOARD.SYS (12.1 format), PCBOARD.DAT, 
  1505.         and USERS file is created in the program directory. Choose option
  1506.         'Q' to write a PCBOARDx.SYS, PCBOARDx.DAT, and USERS file.
  1507.  
  1508.         In PCBoard 14.x mode, a PCBOARD.SYS (14.x format), PCBOARD.DAT, 
  1509.         and USERS file is created in the program directory. Choose option
  1510.         'Q' to write a PCBOARDx.SYS, PCBOARDx.DAT, and USERS file.
  1511.  
  1512.       Wildcat! 2.x (CALLINFO.BBS)
  1513.  
  1514.         In this mode a CALLINFO.BBS file is created in the program directory.
  1515.         Choose option 'Q' to make a CALLINFx.BBS file.
  1516.  
  1517.       GAP & Wildcat! 3.x (DOOR.SYS) 
  1518.  
  1519.         A DOOR.SYS file is created in the program directory.  This DOOR.SYS
  1520.         file follows the 52 line format.  If this causes a problem, I'll
  1521.         stick in a new mode which will created te older format DOOR.SYS file.
  1522.  
  1523.       RA 1.x (DORINFO1.DEF & EXITINFO.BBS)
  1524.  
  1525.         In this mode a DORINFO1.DEF _and_ an EXITINFO.BBS file are created
  1526.         in the program directory.
  1527.  
  1528.       Spitfire (SFDOORS.DAT)
  1529.  
  1530.         In this mode an SFDOORS.DAT is created in the program directory.
  1531.         if you choose option 'Q', the filename will be 'SFDOORSx.DAT'
  1532.  
  1533.       WWIV (CHAIN.TXT)
  1534.  
  1535.         In this mode a CHAIN.TXT file is created in the program directory.
  1536.         If you choose option 'Q', the filename will be 'CHAINx.TXT'
  1537.  
  1538.       Fast Fingers Door (OPENDOOR.SYS)
  1539.  
  1540.         An OPENDOOR.SYS file will be created in the program directory,
  1541.         enabling you to run Fast Fingers doors without a conversion program
  1542.         (other than GMon)
  1543.  
  1544.       MG Generic (USERINFO.TXT)
  1545.  
  1546.         A USERINFO.TXT file will be created in the program directory. This
  1547.         will allow doors like the ol' Planet Busters to work.
  1548.  
  1549.       QBBS (DORINFOx.DEF)
  1550.       Special Case (DORINFO1.DEF) & (DORINFOx.DEF - 3=ANSI)
  1551.  
  1552.         This mode will create a QBBS 'style' DORINFOx.DEF file in the 
  1553.         program directory.  See RBBS mode for details on the differences
  1554.         in DORINFO files.
  1555.  
  1556.         The 'Special Case' mode is used for doors which accept only
  1557.         'DORINFO1.DEF'  (ie. it doesn't expect a node number, just a '1')
  1558.  
  1559.         The 2nd special case puts a 3 in the graphics mode portion of the 
  1560.         file to indicate ANSI mode.
  1561.                                                                   Page 27
  1562.  
  1563.       SRDoors (DOORFILE.SR)
  1564.  
  1565.         Creates a DOORFILE.SR file in the program directory. Used for games
  1566.         like SRE, AC6, or PC.  Eliminates the need to run SRDOOR.EXE before
  1567.         the game executes.
  1568.  
  1569.     G - Program Category
  1570.  
  1571.         If you told GMon to list games by category, then you need to specify
  1572.         the category number here.
  1573.  
  1574.     H - Program Description
  1575.  
  1576.         Here you have 38 characters to describe the program.
  1577.  
  1578.     I - Use Command Line?
  1579.  
  1580.         If you turn this option on, then GMon will use the command line
  1581.         specified above as the command line for the program. If you did NOT
  1582.         specify a command line above, then the command line supplied to GMon
  1583.         itself is used instead.  If this switch is off, then no command
  1584.         line is supplied to the program!
  1585.  
  1586.     J - Use Environment?
  1587.  
  1588.         If you turn this option on, then GMon will use the above environment
  1589.         as the programs environment. If this switch is off, or there is
  1590.         no environment listed above, the program is given a duplicate of
  1591.         GMons environment.
  1592.  
  1593.     K - Use Batch File?
  1594.  
  1595.         GMon 4.0 eliminates the need for batch files. Well, in most cases,
  1596.         not all.  If you turn this option on, GMon will search the current
  1597.         GMon directory for the program batch file, and execute it instead
  1598.         of changing drives & directories and running the COM and EXE files
  1599.         directly.
  1600.  
  1601.         This is good for times when you need to do some extra things in
  1602.         the batch file like copying files over, etc.
  1603.  
  1604.     L - ANSI Mode
  1605.  
  1606.         A lot of programs nowadays require that a user have ANSI capabilities.
  1607.         Not exactly ANSI color, but also ANSI cursor movements.  You can
  1608.         tell GMon 3 things about this program.
  1609.  
  1610.         1.  Let the user use this door, even if they don't have ANSI mode
  1611.             turned on.  This is the default.
  1612.  
  1613.         2.  Don't let the user use this door, unless they have ANSI mode
  1614.             turned on in GMon.
  1615.  
  1616.         3.  Let the user use the door, even though they have ANSI turned 
  1617.             off, and the door probably requires ANSI mode. Just give them
  1618.             a warning before the door is executed.
  1619.  
  1620.     M - Program Times Used
  1621.  
  1622.         This is the number of times a program has been used.
  1623.                                                                   Page 28
  1624.  
  1625.     N - Program Can Only Have One User?
  1626.  
  1627.         Some doors are not made to work in a network environment, and
  1628.         recommend that you keep more than one user from using the game at
  1629.         one time. If you turn this switch on, only one user will be able 
  1630.         to use the game at one time.
  1631.  
  1632.     O - Null Cmd Line In Local Mode?
  1633.  
  1634.         I put this in for Doorware which appear to run locally if there
  1635.         is _no_ command line, and remotely if there is a command line.
  1636.         Even if you specify 'use a cmd line' the cmd line in local mode
  1637.         is null ("") with this switch turned on.
  1638.  
  1639.     P - Is program currently being in use?
  1640.  
  1641.         If someone on another node is using the program, this is 'ON'..
  1642.  
  1643.     Q - Put a node # in the filename?
  1644.  
  1645.         If you wish to change the default filename which contains no
  1646.         no node number in the filename to one which has the node number
  1647.         then turn this switch on. This affects PCBOARD.SYS, CALLINFO.BBS,
  1648.         DOOR.SYS, EXITINFO.BBS, SFDOORS.DAT, CHAIN.TXT.
  1649.  
  1650.     R - Doorware mode?
  1651.  
  1652.         If this is turned on, GMon will write a TIMEOFFx.DOR when opening
  1653.         the door, and reads in POINTSx.DOR after the program exits. This
  1654.         allows GMon to get the points earned/lost in the door.
  1655.  
  1656.     S - Disallow alias in door?
  1657.  
  1658.         Aliases are not appropriate for some doors. If your turn this
  1659.         switch on, then their real name is used for the door instead
  1660.         of their alias (if you have chosen to allow aliases)
  1661.         
  1662.     You will also be shown that last date & time the program was last used.
  1663.  
  1664.  
  1665. 0 - Edit Users
  1666.  
  1667.     You will be asked which user to edit, or you can enter a search string.
  1668.  
  1669.     Once you have the user you wish to edit, you will see the user edit 
  1670.     screen.
  1671.  
  1672.     A - User Name
  1673.  
  1674.         This is the name of the user according to the BBS info file, and
  1675.         is the name GMon will look for when searching for the user.
  1676.  
  1677.     B - Alias Name
  1678.  
  1679.         If you have the Alias option turned on, this will contain the alias
  1680.         the user picked.  No two users can have the same alias.. This is
  1681.         for everyones protection.
  1682.  
  1683.     C - Seconds Used Today
  1684.  
  1685.         GMon keeps track of seconds used to keep a clear idea as to how
  1686.         much time a user has used.  It is very easy for a user to enter and
  1687.         exit GMon in just a few seconds.
  1688.                                                                   Page 29
  1689.  
  1690.     D - Last Date & Time On
  1691.  
  1692.         This is the last date and time a user last logged on, and is
  1693.         currently not editable.
  1694.  
  1695.      E - Expert mode
  1696.  
  1697.         This determines whether or not the menus are displayed.
  1698.  
  1699.      F - ANSI mode
  1700.  
  1701.         This tells whether or not the user has ANSI mode turned on or off.
  1702.          
  1703. ! - Edit Categories
  1704.  
  1705.     You can have up to 20 categories.  Use them in order, ie. don't have
  1706.     any gaps.  It is up to you to keep track of what the name and number
  1707.     of each category is.  You can then place games in these categories
  1708.     according to number using the program editor.
  1709.  
  1710. GMON TEXT FILES
  1711.  
  1712. GMon offers four (4) different ways to differentiate between plain text
  1713. and ANSI color text files.
  1714.  
  1715. Two of these methods are defaults. Two defaults? Yup.. Two defaults.
  1716.  
  1717. The standard method of creating plain text and color text files is very
  1718. similar to the RBBS method of naming the files different for text & color.
  1719.  
  1720. The text version of the file is just the plain filename. For all of the
  1721. following examples I'll use the main GMon menu file called GMENU. The
  1722. plain text version is called GMENU.  The color version has a C appended
  1723. to the filename, or GMENUC.   If the user is in color mode, and GMon
  1724. couldn't find GMENUC, it will display GMENU to the user.
  1725.  
  1726. That is one default method GMon uses to differentiate text & color menus.
  1727.  
  1728. The other default method is to NOT create a GMENUC file, but place color
  1729. macro commands in the text file (GMENU) itself. GMon, as above, will look
  1730. for GMENUC, not find it, and display GMENU, into which you put the color
  1731. macros.  
  1732.  
  1733. But what if the user isn't using ANSI and I put color macros into GMENU
  1734. which is supposed to be plain text?  Good question.  GMon will not put
  1735. in the color macros into the file if the user isn't in ANSI mode! It will
  1736. strip the color macros out!  So _one_ text file can act like a plain text
  1737. and a ANSI color file!  This method will only work for relatively simple
  1738. text files, but it is an option. That is the second 'default'.
  1739.  
  1740. To see what the color macros look like, check out the next section 'MACROS'
  1741.  
  1742. There are two optional methods for differentiating text & color text files,
  1743. and they can be chosen in the GMon editor.  The first method is called
  1744. 'Use ASC & ANS for files'  In this method the GMENU file will be named
  1745. like so:
  1746.  
  1747. GMENU.ASC  (plain text.. or ASCII)
  1748. GMENU.ANS  (ANSI color)
  1749.  
  1750. This method is similar to ones used by some BBS programs, and is also the
  1751. default file naming procedure used by TheDraw.
  1752.                                                                   Page 30
  1753.  
  1754. The other option method is one similar to the way PCBoard names its text
  1755. files. Instead of appending a 'C' onto the end of the filename, a 'G' is
  1756. appended. So:
  1757.  
  1758. GMENU  (plain text)
  1759. GMENUG (ANSI color)
  1760.  
  1761. These options are included in GMon to make it easier for you to differentiate
  1762. between text & color files. ie. make it similar to the method you are already
  1763. using!
  1764.  
  1765. Things to remember.  If the color version of the file can't be found, then
  1766. the plain text version is shown to the user.  If that one can't be found
  1767. then no file is displayed to the user.
  1768.  
  1769. Macros can be put into any text file, color or plain text.  Color macros
  1770. are never inserted into a file if the user is in plain text mode.
  1771.  
  1772. GMON MACRO COMMANDS
  1773.  
  1774. The default character which denotes a macro is the percent '%' sign. You can
  1775. change this default in the main editor to any char that you wish.. make
  1776. sure it is a character which isn't used often. For the examples I will
  1777. use the default macro character '%'.
  1778.  
  1779. These macros are basically the same ones you saw in the program editor!
  1780. (Its actually the same routine!)  The following macros are converted as
  1781. shown:
  1782.  
  1783.      %a  =  Full Alias Name            %n  =  Full User Name 
  1784.      %b  =  Modem to Modem BPS Rate    %N  =  Node Number
  1785.      %B  =  PC to Modem BPS Rate (DTE) %o  =  SysOps First Name
  1786.      %c  =  Com Port Number            %O  =  SysOps Last Name
  1787.      %C  =  Com Port as 'COM#'         %p  =  Parity (N or E)
  1788.      %d  =  Data Bits  (7 or 8)        %P  =  Pause Screen
  1789.      %f  =  Users First Name           %s  =  Security Level
  1790.      %g  =  GMon Directory             %S  =  System (BBS) Name
  1791.      %G  =  ANSI Graphics 1=yes, 0=no  %t  =  Seconds Left in Session 
  1792.      %l  =  User Last Name             %T  =  Minutes Left in Session
  1793.      %L  =  Local Mode 1=yes, 0=no    
  1794.  
  1795.    The color macros are for foreground colors only:
  1796.  
  1797.      %1  =  Bright Red                 %5  =  Bright Magenta
  1798.      %2  =  Bright Green               %6  =  Bright Cyan
  1799.      %3  =  Bright Yellow              %7  =  Bright White
  1800.      %4  =  Bright Blue
  1801.  
  1802. You can use these macros in the text files you create for GMon. For instance
  1803. lets say 'Joe BBS' has logged into GMon, and in one of your text files you
  1804. have the line:
  1805.  
  1806. %n, This is the new version of GMon. I hope you like it.
  1807.  
  1808. This line is changed to:
  1809.  
  1810. Joe BBS, This is the new version of GMon, I hope you like it.
  1811.  
  1812. and then it is displayed to the user.
  1813.  
  1814. That's about it for macros, they are pretty straight forward, and I leave
  1815. it up to your imagination as to how they are used.
  1816.  
  1817. Use the 'P'ause screen macro at the beginning of a line.
  1818.                                                                   Page 31
  1819.  
  1820. UPGRADING TO GMON 4.0
  1821.  
  1822. Upgrading from the older versions of GMon may not be a really simple
  1823. process.  All of the file formats have changed, and the basic functionality
  1824. of GMon has changed.  I suggest making a directory for GMon 4.0 and
  1825. unZIPping the GMon ZIP file into it.  Then run INSTALL.BAT and use
  1826. the editor.  Use GMon edit to add in the games, and set the switches.
  1827.  
  1828. The way programs are run is the biggest change.  GMon no longer exists
  1829. out to a batch file to run an external door. It will execute the file
  1830. from within GMon, no matter if that command is a COM, EXE, or BAT file!
  1831.  
  1832. For instance, with GMon 3.x I had my Stellar Quest game set up as an
  1833. external generic RBBS door. (Type 1 in GMon 3.x)  I had a batch file
  1834. called SQUEST.BAT which GMon exited and executed.  This batch file looked
  1835. like so:
  1836.  
  1837. ECHO OFF
  1838. ECHO ┌─────────────────────┐
  1839. ECHO │    STELLAR QUEST    │
  1840. ECHO └─────────────────────┘
  1841. D:
  1842. CD \DOORS\SQUEST
  1843. SQUEST %NODE% \DOORS\SQUEST RBBS
  1844. C:
  1845. CD \RBBS
  1846. GAMES %NODE%
  1847.  
  1848. Notice the drive change, and the command line.
  1849. Under GMon 4.0 I was able to eliminate the batch file!  Here is the info
  1850. for the SQuest program under 4.0:
  1851.  
  1852. Program Name: SQuest
  1853. Pgm Directory: D:\DOORS\SQUEST
  1854. Pgm Cmd Line: %N \DOORS\SQUEST RBBS
  1855. Pgm Type: RBBS-PC 15.1C & up
  1856. Use Cmd Line: YES
  1857. Use Environment: NO
  1858. Use Batch File: NO
  1859. ANSI mode: ANSI must be on to run this program                                                                   Page 32
  1860.  
  1861. When GMon 4.0 runs a program it will change drives _and_ directories before
  1862. it executes an EXE or COM file.  It will then run that program with the
  1863. command line I chose (notice the %N macro to tell the program the node #)
  1864. When the program exits, GMon changes drives and directories back to the
  1865. GMon directory, and then shows the command prompt to the user.
  1866.  
  1867. In other words, GMon does all of the batch file commands shown without
  1868. ever exiting!
  1869.  
  1870. So...  You will want to set up GMon 4.0 completely from scratch! and then
  1871. test it out.  Then you can change your current batch file that runs GMon 3.x
  1872. over to run GMon 4.0 and see how it works.
  1873.  
  1874.  
  1875. GMON FILES
  1876.  
  1877. GMon uses very few files.  
  1878.  
  1879. CHAMPS.GMN       Monthly Doorware points champions
  1880. GMENU & GMENUC   are the main menu files. 
  1881. GMEPLG & GMEPLGC File shown to user when they use the G)oodbye command
  1882. GMHELP & GMHELPC is the help file shown to the user using 'H' or '?'
  1883. GMNEWS & GMNEWSC is the file shown to the users when they log into GMon.
  1884. PROGS.GMN        is the file which contains program info.
  1885. USER.GMN         is the GMon user file. 
  1886.  
  1887. Optional files include the BLT (bulletin) files, and CATx & CATDx (category)
  1888. menus of games.
  1889.  
  1890.  
  1891. GMON BULLETINS
  1892.  
  1893. GMon allows you to put all door 'score' bulletins in a directory so the
  1894. users can view them from GMon!  This helps simplify your setup in that
  1895. you can put all your games bulletins in the GMon area where most of your
  1896. games are run from!
  1897.  
  1898. You can specify the directory, and what the bulletin menu, and the bulletin
  1899. prefix filenames are.
  1900.  
  1901. The bulletin menu is called 'BLT' by default. It lists the current bulletins
  1902. you have available and their desciptions.
  1903.  
  1904. GMon bulletins are numbered. The number of the bulletin comes directly
  1905. after the 'prefix filename'.  The default prefix filename is BLT, so
  1906. bulletin 1 would be 'BLT1'  bulletin 22 would be BLT22.  
  1907.  
  1908. The text and color version work just like you were shown above in the 'text
  1909. file' section. A color version of bulletin 22 would be BLT22C. If you chose
  1910. the 'ASC & ANS' option, the text version would be BLT22.ASC, and the color
  1911. version would be BLT22.ANS. Under PCBoard text mode, the files for bulletin
  1912. 22 would be BLT22, and BLT22G.
  1913.  
  1914. You can nest the bulletin files.  When the user chooses the bulletin command
  1915. they are shown the bulletin menu, but it is not shown to them again unless
  1916. they ask for the menu with the L)ist command.  Therefore, your bulletin menu
  1917. could describe, lets say, 10 other bulletins which match your categories.
  1918. If you said in your bulletin menu that bulletin 1 was a list of bulletins
  1919. from your adventure game bulletins, then your bulletin 1 would describe 
  1920. which numbers to type to see those bulletins.  All bulletins must have a 
  1921. unique number.
  1922.  
  1923. This method is sort of a false way of nesting bulletins.  Pressing enter
  1924.  
  1925.                                                                   Page 33
  1926.  
  1927. brings the user back to the GMon menu, not to the previous bulletin menu.
  1928. If they want a previous bulletin menu, they must specify the number directly
  1929. or use the L)ist command to get the main bulletin menu shown.
  1930.  
  1931.  
  1932. PROGRAM MENUS
  1933.  
  1934. GMon supports a default method of displaying what programs are available,
  1935. and optionally, you can create your own menus to show what programs are
  1936. available.  The default methods are pretty generic looking, and you can
  1937. spruce up the display by creating CATx & CATDx program menus.  If GMon
  1938. finds these files, they will be displayed instead of the default method.
  1939.  
  1940. For instance, the default display for 'programs without descriptions' looks 
  1941. like so:
  1942.  
  1943. Programs available on The Abandoned Land
  1944.  
  1945. 1. TW2              2. SQuest          3. Carib            4. King
  1946. etc.etc.
  1947.  
  1948. You can make a menu which displays the games like you want it to. In this
  1949. case you want a CATx file.  The CATDx file takes the place of the 'programs
  1950. with descriptions' display.
  1951.  
  1952. These files are named according to category, CATx & CATDx  where 'x' is the 
  1953. category number.  What if you aren't using categories?  Then use CAT0,
  1954. and CATD0. This menu is also displayed when you use categories but only when
  1955. the user chooses A)ll categories.  ie. Category '0' is all categories.
  1956.  
  1957. If you are using categories, then the category files are named according
  1958. to the categories you made.
  1959.  
  1960. Just remember:
  1961. CATx   -- Where 'x' is the category (0=all) and this file has no descriptions.
  1962. CATDx  -- Where 'x' is the category (0=all) this file has descriptions.
  1963.  
  1964. The text & color file naming conventions work here also.  CAT0 is the
  1965. all category text file, CAT0C is the all category ANSI file. Etc.
  1966.  
  1967.  
  1968. BEFORE & AFTER TEXT FILES
  1969.  
  1970. GMon allows you to create text files to be shown to the user before and/or
  1971. after the program is run. The file shown to the user is called BEFORE,
  1972. the file afterwards is called AFTER. These files are found in the same
  1973. directory as the game.  These files are shown only if they exist. These
  1974. files also conform to the GMon text/color text file conventions. For
  1975. instance, the default color versions of these files would be BEFOREC, and
  1976. AFTERC
  1977.  
  1978. THANKS
  1979.  
  1980. I would like to thank all of the guys who have helped me improve GMon
  1981. throughout the last 4 1/2 years.
  1982.  
  1983. Roger Reesor   - Who helped me figure out exactly how those original
  1984.                  Doorware programs did their thing.. (and boy did they
  1985.                  work in wierd ways!)
  1986. Mike Hammer    - Who made some mods to get GMon running on pre-15.1C
  1987.                  RBBS's  (The versions that didn't make a DORINFO file)
  1988. Darrin Calcutt - This wacky canuck is a good friend, and supplied some
  1989.                  mods to improve the conversion section of GMon. I haven't
  1990.                  heard from him in awhile, I hope he is doing okay.
  1991.                                                                   Page 34
  1992.  
  1993. Vanessa Kimble - Who provided the inspiration to get me off my butt and
  1994.                  get GMon 4.0 off the spiral notepad, and into code.
  1995. Mitchell Anstine - Who ran a hell of a lot of doors under GMon in the
  1996.                  early days, and really put it to the test.
  1997. The whole RBBS-PC Beta Gang.. Don Smith, Mike Davis, Rod Bowman, & all
  1998.                               the rest!
  1999.  
  2000. The Guys who registered earlier versions of GMon.
  2001. I can't possibly remember all of you.  But Thanks!
  2002.  
  2003.  
  2004. HAVING PROBLEMS WITH GMON??
  2005.  
  2006. First of all, don't ever assume that I know about every bug.
  2007.  
  2008. _Always_ assume I DON'T know about ANY bugs.
  2009.  
  2010. Its better to inform me of a bug I may know about, than not to report it
  2011. at all!
  2012. When you discover a bug, please try and get a capture file which shows the
  2013. bug in action. As someone anonymous once said:
  2014.  
  2015. "Gather enough information, and the solution will be obvious"
  2016.  
  2017. I can't stress the importance of that enough.  I also will need to know the
  2018. release number, the BBS program you're running, and a complete description
  2019. of the problem.
  2020.  
  2021. See the next section on how to reach me to report bugs, or incompatabilities.
  2022.  
  2023.  
  2024. PROGRAM SUPPORT / HOW TO REACH ME
  2025.  
  2026. I support this program to the best of my ability. There are several different
  2027. ways of contacting me.
  2028.  
  2029. Mail:
  2030.  
  2031. John Morris  
  2032. 1718 Woodhaven Ln.
  2033. Sparks, NV 89434
  2034.  
  2035. Netmail:
  2036.  
  2037. RBBS-Net 8:919/1 or 2 -or- Fidonet  1:213/760 or 761
  2038.  
  2039. BBS:
  2040. The Abandoned Land 
  2041. (702) 359-1138
  2042. (702) 359-0629
  2043.  
  2044. Voice:
  2045. (702) 359-1303
  2046.  
  2047. If I'm not at home, and you have a bug report, you can leave a message about
  2048. the bug on my answering machine.
  2049.  
  2050. As you may hear on my answering machines message, I don't get a chance to
  2051. return many phone calls.. maybe 1 in 100.. thats it.  I wish I could
  2052. return more of them, but this program is just a hobby at the moment, and
  2053. I have lots of other things I need to do. Its mainly a lack of time. I always
  2054. return mail left to me on my BBS. So if you must have a reply, e-mail me
  2055. on The Abandoned Land.
  2056.                                                                   Page 35
  2057.  
  2058. APPENDIX A
  2059.  
  2060. HOW THE POINTS SYSTEM IN GMON WORKS
  2061.  
  2062. You can tell GMon that a door will return points to GMon by turning on the
  2063. Doorware switch in the program editor.   When this mode is on, GMon will
  2064. write a TIMEOFFx.DOR in the program directory (along with the usual BBS
  2065. interface files)  When the door program exits, GMon will read a POINTSx.DOR
  2066. to determine how many points were won or lost.
  2067.  
  2068. The TIMEOFF file is named like so:
  2069.  
  2070. On single node systems the file is called TIMEOFF0.DOR.. If the BBS is
  2071. multinode, then the 'x' is the node number.  On node 1 it would be
  2072. TIMEOFF1.DOR.. node 3 would be TIMEOFF3.DOR.. etc.
  2073.  
  2074. The TIMEOFF file is a plain text file with 8 lines. The format is as
  2075. follows:
  2076.  
  2077.  
  2078. Time, In Seconds After Midnight, When User Session Limit Ends
  2079. User Number In GMon  (not used by GMon 4.0.. always set to 1)
  2080. Current User Points
  2081. Minutes Left In Session  (or so GMon 4.0 thinks..)
  2082. Nulls                (-1=TRUE 0=FALSE, GMon 4.0 always sets this to 0)
  2083. ANSI Graphics Mode   (0 = text.. -1 = ANSI)
  2084. GMon Subdirectory    (with trailing backslash)
  2085. Sound on or off      (Y or N)
  2086.  
  2087. On the next page I'll show you what a typical TIMEOFFx.DOR looks like:
  2088. A typical TIMEOFFx.DOR looks like:
  2089.  
  2090. 76134
  2091. 1
  2092. 1500
  2093. 30
  2094. 0
  2095. -1
  2096. C:\GMON40\
  2097. N
  2098.  
  2099. Thats about it.. GMon is basically concerned with the POINTS field of
  2100. the file..(line 3)  and for door authors, thats what you should look for.
  2101. It contains the current number of points that the user has.  You can use
  2102. this in gambling games.. or just about anything.  It really adds an
  2103. incentive to use the doors.
  2104.  
  2105. When the door exits it should write a POINTSx.DOR file (in its own directory)
  2106. which will tell GMon how many points the user won or lost.
  2107.  
  2108. The POINTS file is named like so:
  2109.  
  2110. On single node systems the file is called POINTS0.DOR.. If the BBS is
  2111. multinode, then the 'x' is the node number.  On node 1 it would be
  2112. POINTS1.DOR.. node 3 would be POINTS3.DOR.. etc.
  2113.                                                                   Page 67
  2114.  
  2115. The POINTS file is a text file with 2 lines, like so:
  2116.  
  2117. Time, In Seconds After Midnight, When This File Was Created
  2118. Points Won (positive #) or lost (negative #)
  2119.  
  2120. which might look like:
  2121.  
  2122. 12365
  2123. -512
  2124.  
  2125. (user lost 512 points..)
  2126.  
  2127. GMon ignores the first line, and _adds_ the number in the second line to the
  2128. users current point total.  If the users point total is 'below' zero, then
  2129. the users point total is set to 0.
  2130.  
  2131. The users points are saved in a long integer which give possible point
  2132. totals in the 0 to 2,100,000,000  range.. (give or take a few mill)
  2133.  
  2134.  
  2135. DOOR GAME AUTHORS!
  2136.  
  2137. I encourage door authors to use the 'Doorware' mode in their games.  This
  2138. version of GMon should tie things together pretty well, and since GMon 4.0's
  2139. Doorware mode isn't specific to any BBS type, even PCBoard, or RA, or 
  2140. Wildcat! games could use this system.  Just have your program look for a
  2141. TIMEOFFx.DOR file in your programs directory, and if it is there, have
  2142. your program create a POINTSx.DOR for GMon to use in return! 
  2143.  
  2144. This points system has been around 5 1/2 (as of this writing) and really
  2145. encourages use of doors.
  2146.  
  2147. [END OF GMON.DOC]
  2148.